import http, {post} from '@/api/Http'

export const getAddress = (ip: any) => http({
	method: 'post',
	url: '/ip/ip2long',
	data: {
		ip: ip
	}
})

export const getCurrentAddress = () => post('/ip/getCurrentIp', {})
